<script th:src="@{/scripts/jquery.form.js}"></script>
<script th:src="@{/scripts/pb/tablesql/new.js}"></script>
<form id="saveForm" action="./save" method="post" >
    <table class="addNewInfList">
        <tr>
            <th>数据库表名</th>
            <td width="240">
                <input class="inp-list w-200 clear-mr f-left" type="text" name="tableName" id="tableName" maxlength="100" />
                <span class="tipStar f-left">*</span>
            </td>
            <th>数据库表中文名</th>
            <td width="240">
                <input class="inp-list w-200 clear-mr f-left" type="text" name="tableCname" id="tableCname" maxlength="200" />
                <span class="tipStar f-left">*</span>
            </td>
        </tr>
        <tr>
            <th>是否可用</th>
            <td width="240">
                <select name="isEnable" id="isEnable">
        			<option th:each="enableType:${enableTypes}" th:value="${enableType.value}" th:text="${enableType.name}">
        			</option>
        		</select>
                <span class="tipStar f-left">*</span>
            </td>
             <th>排序号</th>
            <td width="240">
                <input class="inp-list w-200 clear-mr f-left" type="text" name="sort" id="sort" maxlength="100" />
                <span class="tipStar f-left">*</span>
            </td>
        </tr>
        <tr>
            <th>表sql语句</th>
            <td width="240" colspan="3">
                <textarea rows=30 cols=47 style="height:expression((this.scrollHeight>150)?'150px':(this.scrollHeight+5)+'px');overflow:auto;" type="text" name="sql" id="sql"></textarea>
                <span class="tipStar f-left">*</span>
            </td>
        </tr>
    </table>
    <div class="bottomBtnBox">
        <a class="btn-93X38 saveBtn" href="javascript:void(0)">确定</a>
        <a class="btn-93X38 backBtn" href="javascript: closeDialog()">返回</a>
    </div>
</form>
